import pickle

if __name__ == "__main__":
    my_list = [123, 3.14, "小甲鱼", ['another list']]
    pickle_file = open("/Users/liangjuda/PycharmProjects/xiaojiayu/day03/my_list.pkl", "wb")
    pickle.dump(my_list, pickle_file)
    pickle_file.close()